package com.example.dubbo.aip.vo.demo;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;


/**
 * 商品库存Entity
 * ClassName:StorageTbl
 * Description: 用于Seata 分布式事务测试
 */
@Table(name = "storage_tbl")
@Data
public class StorageTbl implements Serializable {
    @Id
    private Integer id;
    //商品编号
    private String commodityCode;
    //库存剩余数量
    private Integer count;
}